QT += quick gui widgets network qml serialport
DESTDIR =./bin
# CONFIG+=console
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0
RC_ICONS =  $$PWD/images/logo.ico
SOURCES += \
        cpp/helper/commonhelper.cpp \
        cpp/helper/httphelper.cpp \
        cpp/helper/scannerhelper.cpp \
        cpp/helper/userhelper.cpp \
        cpp/helper/wthttp.cpp \
        main.cpp \
        singleapplication.cpp

RESOURCES += qml.qrc \
    images.qrc

INCLUDEPATH *= \
    $$PWD/cpp \
    $$PWD/cpp/helper

LIBS *= -luser32

# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =

# Additional import path used to resolve QML modules just for Qt Quick Designer
QML_DESIGNER_IMPORT_PATH =

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

HEADERS += \
    cpp/helper/commonhelper.h \
    cpp/helper/httphelper.h \
    cpp/helper/httphelper.inc \
    cpp/helper/scannerhelper.h \
    cpp/helper/userhelper.h \
    cpp/helper/wthttp.h \
    cpp/helper/wthttp.inc \
    singleapplication.h
